package com.ruoyi.common.core.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 门店用户角色对象 jy_store_user_role
 *
 * @author ruoyi
 * @date 2021-11-24
 */
@ApiModel
public class StoreUserRole extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 门店id */
    @Excel(name = "门店id")
    @ApiModelProperty(value = "门店id")
    private Long storeId;

    /** 权限类型 */
    @Excel(name = "权限类型")
    @ApiModelProperty(value = "权限类型")
    private String roleType;

    /** 商家用户id */
    @Excel(name = "商家用户id")
    @ApiModelProperty(value = "商家用户id")
    private Long storeUserId;

    /** 商家姓名 */
    @Excel(name = "商家姓名")
    @ApiModelProperty(value = "商家姓名")
    private String userName;

    /** 手机号 */
    @Excel(name = "手机号")
    @ApiModelProperty(value = "手机号")
    private String phone;

    /** uuid */
    @Excel(name = "uuid")
    @ApiModelProperty(value = "uuid")
    private String uuid;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setStoreId(Long storeId)
    {
        this.storeId = storeId;
    }

    public Long getStoreId()
    {
        return storeId;
    }
    public void setRoleType(String roleType)
    {
        this.roleType = roleType;
    }

    public String getRoleType()
    {
        return roleType;
    }
    public void setStoreUserId(Long storeUserId)
    {
        this.storeUserId = storeUserId;
    }

    public Long getStoreUserId()
    {
        return storeUserId;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setUuid(String uuid)
    {
        this.uuid = uuid;
    }

    public String getUuid()
    {
        return uuid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("storeId", getStoreId())
            .append("roleType", getRoleType())
            .append("storeUserId", getStoreUserId())
            .append("userName", getUserName())
            .append("delState", getDelState())
            .append("phone", getPhone())
            .append("delUser", getDelUser())
            .append("delType", getDelType())
            .append("uuid", getUuid())
            .append("delTime", getDelTime())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateType", getUpdateType())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
